package com.inter.law.vo;

/**
 * 统一的结果处理封装类
 */
public class ResultVO {
    /**
     * 是否处理成功
     */
    private boolean ok;
    /**
     * 返回消息
     */
    private String msg;
    /**
     * 返回数据
     */
    private Object data;

    public ResultVO(boolean ok) {
        this.ok = ok;
    }

    public ResultVO() {
    }

    public boolean isOk() {
        return ok;
    }

    public void setOk(boolean ok) {
        this.ok = ok;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
